home *** CD-ROM | disk | FTP | other *** search
/ Suzy B Software 2 / Suzy B Software CD-ROM 2 (1994).iso / extras / programm / gemfsc20 / gemfsc20.lzh / GEMFBIND / VLARCPIE.S < prev    next >
Text File  |  1993-03-16  |  1KB  |  47 lines

  1. ;*========================================================================
  2. ;* VDIFAST Public Domain VDI bindings.
  3. ;*========================================================================
  4.  
  5.  
  6. ;*------------------------------------------------------------------------
  7. ;* Eliptical arc and pie.
  8. ;*------------------------------------------------------------------------
  9.  
  10.           globl     _v_ellarc
  11. _v_ellarc:
  12.           moveq.l    #6,d1
  13.           bra.b     ellarcpie
  14.           globl     _v_ellpie
  15. _v_ellpie:
  16.           moveq.l    #7,d1
  17. ellarcpie:
  18. ;    .cargs    #8,handle.w,x.w,y.w,xradius.w,yradius.w,begang.w,endang.w
  19.  
  20. handle      =         8
  21. x          =         10
  22. y          =         12
  23. xradius   =         14
  24. yradius   =         16
  25. begang      =         18
  26. endang      =         20
  27.  
  28.           link        a6,#0
  29.  
  30. ;          VContrl    #11,d1,#2,#2
  31.           move.w    handle(a6),-(sp)    ; contrl[6]
  32.           move.w    d1,-(sp)            ; contrl[5]
  33.           subq.l    #2,sp                ; contrl[4]
  34.           move.w    #2,-(sp)            ; contrl[3]
  35.           subq.l    #2,sp                ; contrl[2]
  36.           move.w    #2,-(sp)            ; contrl[1]
  37.           move.w    #11,-(sp)            ; contrl[0]
  38.  
  39.           subq.l    #8,sp                ;* -> ptsout, intout
  40.           pea        x(a6)                ;* -> ptsin
  41.           pea        begang(a6)            ;* -> intin
  42.           pea        16(sp)                ;* -> contrl
  43.  
  44.           jmp        vdicall
  45.  
  46.           end
  47.